package cn.car.domains.ctx;

import cn.car.domains.entity.*;
import cn.car.domains.info.InternalCameraInfo;
import cn.car.domains.info.InternalVehicleInfo;
import lombok.Data;

import java.util.Date;

@Data
public class PlateDetectedContext {

    /**
     * 该请求对象创建时间
     */
    private final long reqTime = System.currentTimeMillis();

    /**
     * 请求相机信息
     */
    private InternalCameraInfo cameraInfo = new InternalCameraInfo();

    /**
     * 请求识别的汽车信息
     */
    private InternalVehicleInfo vehicleInfo = new InternalVehicleInfo();

    /**
     * 系统相机参数
     */
    private CameraInfoEntity cameraInfoEntity;

    /**
     * 车辆基本信息
     */
    private VehicleCommonInfoEntity vehicleCommonInfoEntity;

    /**
     * 运输车辆信息
     */
    private VehicleEntryExitInfoEntity vehicleEntryExitInfoEntity;

    /**
     * 出口/入口
     */
    private String inOutType;

    /**
     * 车辆通用台账
     */
    private VehicleCommonLedgerInfoEntity vehicleCommonLedgerInfoEntity;

    /**
     * 运输车辆台账
     */
    private VehicleEntryExitLedgerInfoEntity vehicleEntryExitLedgerInfoEntity;

    /**
     * 是否开闸
     */
    private Boolean isOpen;

    /**
     * 抬杆/落杆
     */
    private String gIoInType;

    /**
     * 手动抬杆操作人
     */
    private String manualOperator;

    /**
     * 抬杆时间
     */
    private Date upTime;

    /**
     * 落杆时间
     */
    private Date downTime;

}
